package com.wooshow.base.local;

import java.io.Serializable;
import java.sql.PreparedStatement;
import java.sql.ResultSet;
import java.sql.SQLException;
import java.util.Date;

import org.apache.commons.lang.time.DateFormatUtils;
import org.hibernate.HibernateException;
import org.hibernate.usertype.UserType;

public class LocalDate extends Date implements UserType, Serializable {

    private static final long serialVersionUID = 27598196897442956L;

	public String toString() {
		return DateFormatUtils.ISO_DATETIME_FORMAT.format(this);
    }

	public Object assemble(Serializable arg0, Object arg1) throws HibernateException {
	    // TODO Auto-generated method stub
	    return null;
    }

	public Object deepCopy(Object arg0) throws HibernateException {
	    // TODO Auto-generated method stub
	    return null;
    }

	public Serializable disassemble(Object arg0) throws HibernateException {
	    // TODO Auto-generated method stub
	    return null;
    }

	public boolean equals(Object arg0, Object arg1) throws HibernateException {
	    // TODO Auto-generated method stub
	    return false;
    }

	public int hashCode(Object arg0) throws HibernateException {
	    // TODO Auto-generated method stub
	    return 0;
    }

	public boolean isMutable() {
	    // TODO Auto-generated method stub
	    return false;
    }

	public Object nullSafeGet(ResultSet arg0, String[] arg1, Object arg2) throws HibernateException, SQLException {
	    // TODO Auto-generated method stub
	    return null;
    }

	public void nullSafeSet(PreparedStatement arg0, Object arg1, int arg2) throws HibernateException, SQLException {
	    // TODO Auto-generated method stub
	    
    }

	public Object replace(Object arg0, Object arg1, Object arg2) throws HibernateException {
	    // TODO Auto-generated method stub
	    return null;
    }

	public Class returnedClass() {
	    // TODO Auto-generated method stub
	    return null;
    }

	public int[] sqlTypes() {
	    // TODO Auto-generated method stub
	    return null;
    }

}
